import request from '@/utils/request'
// 列表
export function bookList(params: any) {
    return request.get({ url: '/book.book/lists', params })
}
//添加
export function bookAdd(params: any) {
    return request.post({ url: '/book.book/add', params })
}
//删除
export function bookDelete(params: any) {
    return request.post({ url: '/book.book/delete', params })
}
//详情
export function bookDetail(params: any) {
    return request.get({ url: '/book.book/detail', params })
}
//编辑
export function bookEdit(params: any) {
    return request.post({ url: '/book.book/edit', params })
}
//修改状态
export function bookUpdateStatus(params: any) {
    return request.post({ url: '/book.book/updateStatus', params })
}
